From 2a8b806d1eee852855183f25263ac5ab9cc3f93e Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Mon, 8 Mar 2010 19:10:27 +0000 Subject: [PATCH] cpu hotplug: Add the missed rcu init for new added CPU Signed-off-by: Jiang, Yunhong --- xen/arch/x86/smpboot.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/arch/x86/smpboot.c b/xen/arch/x86/smpboot.c index 5118da3d47..7e9473f267 100644 --- a/xen/arch/x86/smpboot.c +++ b/xen/arch/x86/smpboot.c @@ -1391,6 +1391,8 @@ int cpu_up(unsigned int cpu) goto out; } + rcu_online_cpu(cpu); + err = __cpu_up(cpu); if (err < 0) goto out; -- 2.30.2